import { IMenuDataItem } from '../route';
import { IUserInfo } from '../system';
import {} from './system';

export interface ILoginReqParams {
  username: string;
  password: string;
}

export interface IGetUserInfoResData {
  sysUser: IUserInfo;
  menus: IMenuDataItem[];
  roles: string[];
}

export interface IUserActionReqData {
  userId?: string;
  username: string;
  password: string;
  nickname?: string;
  mobile?: string;
  email?: string;
  address?: string;
  street?: string;
  sex?: string;
  passStrength?: string;
  avatar?: string;
  deptId?: string;
  birth?: string;
  status: number;
  role: string[];
}

export interface IQueryUserReqParams {
  username?: string;
  current?: number;
  size?: number;
  order?: string;
  sort?: string;
}
